import { request } from '@ruifox-cms/utils'

// 更新用户信息
export function updateUserInfo(data) {
    return request({
        baseURL: process.env.NODE_ENV == 'development' ? '/recruitment_api' : '/api',
        url: '/recruitment/user/update',
        method: 'post',
        data
    })
}
//查询用户信息
export function selectUserInfo(params) {
    return request({
        baseURL: process.env.NODE_ENV == 'development' ? '/recruitment_api' : '/api',
        url: '/recruitment/user/select',
        method: 'get',
        params
    })
}